package com.zero.seata.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 账户数据实体
 *
 * @author zero
 */
@Data
@TableName("seata_account")
public class Account {

    @TableId(value = "a_id", type = IdType.AUTO)
    private Integer id;

    @TableField("a_money")
    private Double money;

    @TableField("a_create_time")
    private Timestamp createTime;

    @TableField("a_mark")
    private String mark;
}
